//
//  Global.h
//  Lmm_IOS
//
//  Created by 张哲炜 on 2018/9/15.
//  Copyright © 2018年 lmm. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "MJExtension.h"
#define MAS_SHORTHAND
#define MAS_SHORTHAND_GLOBALS
#import "Masonry.h"
#import "UserModel.h"
#import "ConfigModel.h"



#define UIColorFromRGB(rgbValue) [UIColor colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 green:((float)((rgbValue & 0xFF00) >> 8))/255.0 blue:((float)(rgbValue & 0xFF))/255.0 alpha:1.0]


//iphoneX判断
#define DEVICE_IS_IPHONEX ([UIScreen instancesRespondToSelector:@selector(currentMode)] ? CGSizeEqualToSize(CGSizeMake(1125, 2436), [[UIScreen mainScreen] currentMode].size) : NO)

#define MAIN_SCREEN_HEIGHT [[UIScreen mainScreen] bounds].size.height
#define MAIN_SCREEN_WIDTH [[UIScreen mainScreen] bounds].size.width
#define POINT_MALL_IMAGE_WIDTH (MAIN_SCREEN_WIDTH - 40)/2

#define MAIN_COLOR UIColorFromRGB(0xFB4747)
#define SECOND_FONT_COLOR UIColorFromRGB(0x666666)
//#define BG_COLOR UIColorFromRGB(0xEEEEEE)
#define BG_COLOR UIColorFromRGB(0xF5F4F4)

#define MAIN_FONT_COLOR UIColorFromRGB(0x333333)
#define MAIN_FONT_NAME @"ArialMT"
#define NAVIGATION_BAR_HEIGHT 64
#define NAVIGATION_BAR_X_HEIGHT 84


#define SERVER_URL @"39.104.87.146"

#define ADDRESS_PICKER_HEIGHT 250


@interface Global : NSObject


@end
